package com.personnel.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;
import java.io.Serializable;

/**
 * (Notice)实体类
 *
 * @author yuepeng
 * @since 2022-03-17 17:55:29
 * @version 1.0
 */
public class Notice implements Serializable {
    private static final long serialVersionUID = 469689502896765048L;
    
    private Integer noticeId;
    /**
    * 标题
    */
    private String noticeTitle;
    /**
    * 公告内容
    */
    private String noticeContent;
    /**
    * 发起人
    */
    private Integer sendStaffId;
    /**
    * 接收人（0为所有）
    */
    private Integer receiveStaffId;
    /**
    * 创建时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp createTime;
    /**
    * 撤回时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp cancelTime;
    /**
    * 删除时间
    */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp deleteTime;
    /**
    * 是否撤回
    */
    private Integer ifCancel;
    /**
    * 是否删除（0为未删除，1为删除）
    */
    private Integer ifDelete;
    /**
    * 是否已阅
    */
    private Integer ifRead;
    /**
    * 已阅次数
    */
    private Integer readTimes;
    /**
    * 关联staff
    */
    private Staff staff;

        
    public Integer getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Integer noticeId) {
        this.noticeId = noticeId;
    }
        
    public String getNoticeTitle() {
        return noticeTitle;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }
        
    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }
        
    public Integer getSendStaffId() {
        return sendStaffId;
    }

    public void setSendStaffId(Integer sendStaffId) {
        this.sendStaffId = sendStaffId;
    }
        
    public Integer getReceiveStaffId() {
        return receiveStaffId;
    }

    public void setReceiveStaffId(Integer receiveStaffId) {
        this.receiveStaffId = receiveStaffId;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getCancelTime() {
        return cancelTime;
    }

    public void setCancelTime(Timestamp cancelTime) {
        this.cancelTime = cancelTime;
    }

    public Timestamp getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Timestamp deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getIfCancel() {
        return ifCancel;
    }

    public void setIfCancel(Integer ifCancel) {
        this.ifCancel = ifCancel;
    }
        
    public Integer getIfDelete() {
        return ifDelete;
    }

    public void setIfDelete(Integer ifDelete) {
        this.ifDelete = ifDelete;
    }
        
    public Integer getIfRead() {
        return ifRead;
    }

    public void setIfRead(Integer ifRead) {
        this.ifRead = ifRead;
    }
        
    public Integer getReadTimes() {
        return readTimes;
    }

    public void setReadTimes(Integer readTimes) {
        this.readTimes = readTimes;
    }

    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }
}